<section class="scrollable padder-md">
    <div class="m-b-md">
        <a href="" class="btn btn-rounded  btn-sm btn-icon btn-default pull-right" data-ng-click="close()">
            <i class="fa fa-reply"></i>
        </a>
        <h3 class="m-b-none text-black">
            <i class="fa fa-edit m-r-sm"></i>选择流转司机
        </h3>
    </div>

    <!-- Toolbar 按钮栏 -->
    <section class="panel panel-default scrollable">
        <header class="panel-heading">
            <input type="text" class="form-control" data-ng-model="reason" placeholder="填写流转理由"/>
        </header>

        <header class="panel-heading">
            <div class="row">
                <div class="col-sm-5">
                    <div class="od-head-title">司机列表</div>
                </div>
            </div>
        </header>
        <form class="form-inline" data-ng-submit="getObjList()">
            <div class="wrapper row">
                <div class="col-sm-10">
                    <div class="form-group">
                        <input type="text"
                               class="input-sm form-control"
                               data-ng-model="queryObj.name" placeholder="司机名">
                    </div>
                    <div class="form-group">
                        <button class="form-control btn btn-sm btn-warning " type="submit">查询</button>
                    </div>
                </div>
            </div>
        </form>
        <!-- 表格部分 -->
        <div class="table-responsive">
            <table class="table table-striped b-t b-light">
                <thead>
                <tr>
                    <th class="col-xs-9">司机名</th>
                    <th class="col-xs-3">操作</th>
                </tr>
                </thead>
                <tbody>
                <tr data-ng-repeat="driver in driverList"
                    data-ng-class="{true:'text-success',false:''}[selectedDriver == driver]">
                    <td>{{driver.nickname}}</td>
                    <td>
                        <a href="javascript:void(0);" class="text-primary m-r-xs"
                           ng-show="driver.id != orginDriver.id"
                           data-ng-click="select(driver)">选择</a>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>

        <!-- 分页控件 -->
        <footer class="panel-footer">
            <div data-ng-include="'comm/pager/pager.html'"></div>
        </footer>

        <div>
            <div class="form-group text-right" style="margin-left: 15px; margin-right: 15px;">
                <button type="submit" class="btn btn-success" data-ng-click="confirmFlow()">
                    <i class="i i-flow-tree"></i>
                    &nbsp;流转
                </button>
            </div>
        </div>
    </section>
</section>
